﻿namespace XYS.Service.Core.Models
{
    /// <summary>
    /// 公式转svg 出参
    /// </summary>
    public class MathoidResult
    {

        /// <summary>
        /// 
        /// </summary>
        public MathoidSvgView SVG { get; set; }
        /// <summary>
        /// true
        /// </summary>
        public bool Success { get; set; }
        /// <summary>
        /// success
        /// </summary>
        public string Log { get; set; }
        /// <summary>
        /// Equation
        /// </summary>
        public string SpeakText { get; set; }

        /// <summary>
        /// 14.294ex
        /// </summary>
        public string Width { get; set; }
        /// <summary>
        /// 5.009ex
        /// </summary>
        public string Height { get; set; }
        /// <summary>
        /// vertical-align: -2.005ex;
        /// </summary>
        public string Style { get; set; }
        /// <summary>
        /// vertical-align: -2.005ex; width:14.294ex; height:5.009ex;
        /// </summary>
        public string MathoidStyle { get; set; }
    }

    /// <summary>
    /// svg
    /// </summary>
    public class MathoidSvgView
    {
        /// <summary>
        /// 
        /// </summary>
        public string Body { get; set; }
    }

}
